package com.cmc.cloud.cmclink.doc.vo.arrivalnoticeprintsetupvo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.util.*;

import org.hibernate.validator.constraints.Length;

import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * Arrival Notice 打印配置 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 *
 * @author codegen
 */
@Data
public class ArrivalnoticePrintSetupBaseVO {

    @Schema(description = "港口代码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{arrivalnoticeprintsetup.portcode.notblank}")
    @Length(max = 5, message = "{arrivalnoticeprintsetup.portcode.length}")
    private String portCode;

    @Schema(description = "打印公司名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotBlank(message = "{arrivalnoticeprintsetup.companyname.notblank}")
    @Length(max = 100, message = "{arrivalnoticeprintsetup.companyname.length}")
    private String companyName;

    @Schema(description = "打印地址")
    @Length(max = 150, message = "{arrivalnoticeprintsetup.address.length}")
    private String address;

    @Schema(description = "打印电话传真")
    @Length(max = 100, message = "{arrivalnoticeprintsetup.telephone.length}")
    private String telephone;

    @Schema(description = "打印email")
    @Length(max = 100, message = "{arrivalnoticeprintsetup.email.length}")
    private String email;

    @Schema(description = "打印备注", example = "你说的对")
    @Length(max = 2000, message = "{arrivalnoticeprintsetup.remark.length}")
    private String remark;

}
